package cn.kgm.makeGod;

import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Version 1.8
 * @Author: Kappi
 * @Date: 2025-9-11 11:22
 * @Description: cn.kgm.makeGod.Relationship
 */
@Data
@Builder
@NoArgsConstructor
public class Relationship {
    private int sourceId;
    private int targetId;
    private RelationshipType type;
    private int value; // -100 to 100

    public Relationship(int sourceId, int targetId, RelationshipType type, int value) {
        this.sourceId = sourceId;
        this.targetId = targetId;
        this.type = type;
        this.value = value;
    }
}
